/* 封装搜索相关的接口 */

import axios from '@/utils/request'

/**
 * 获取联想建议
 *
 * @param {*} q
 * @returns
 */

export function getSuggest(q) {
  return axios({
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
}
